Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Meshes


Q3Mesh_GetFaceNumContours

You can use the Q3Mesh_GetFaceNumContours function to determine the number of contours in a face of a mesh.

TQ3Status Q3Mesh_GetFaceNumContours (
TQ3GeometryObject mesh, 
TQ3MeshFace face, 
unsigned long *numContours);
mesh
A mesh.
face
A mesh face.
numContours
On exit, the number of contours in the specified mesh face.
DESCRIPTION
The Q3Mesh_GetFaceNumContours function returns, in the numContours parameter, the number of contours in the mesh face specified by the mesh and face parameters. A mesh face always contains at least one contour, which defines the face itself. Any additional contours in the face define holes in the face.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996